package com.nxw.springcloud.gateway.entity;

import javax.validation.constraints.Min;

/**
 * @program: dynamic-route
 * @description:
 * @author: nxw
 * @create: 2020-02-24 15:12
 **/
public interface CommonConstants {

    /**
     * 默认限流 流速 与 桶大小
     */
    int DEFAULT_REPLENISH_RATE = 10000;

    int TIME_TYPE = 1;
    /**
     * 限流缓存key
     */
    String REDIS_LIMIT_KEY = "ms_redis_limit_key:";

    String APP_KEY ="appKey";

    String APP_SECRET = "appSecret";

    String ENVIRONMENT = "environment";

}
